<!doctype html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="Hexo, NexT, Blog, JAVA,Spring,Mysql,Quartz,Python,程序员" />





  <link rel="alternate" href="https://my.oschina.net/giegie/rss" title="Gie的博客" type="application/atom+xml" />




  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="shiro 的cache只提供了ehcache和concurrentHashMap的实现，参考 spring-shiro-redis，结合jfinalPlugin 实现一个jfinal实用版  
继承AbstractSessionDAO注意看方法注释
12345678910111213141516171819202122232425262728293031323334353637383940414">
<meta property="og:type" content="article">
<meta property="og:title" content="【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存">
<meta property="og:url" content="https://jieblog.github.io/2017/04/05/【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存/index.html">
<meta property="og:site_name" content="Gie的博客">
<meta property="og:description" content="shiro 的cache只提供了ehcache和concurrentHashMap的实现，参考 spring-shiro-redis，结合jfinalPlugin 实现一个jfinal实用版  
继承AbstractSessionDAO注意看方法注释
12345678910111213141516171819202122232425262728293031323334353637383940414">
<meta property="og:image" content="http://obq1lvsd9.bkt.clouddn.com/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20170405195306.png">
<meta property="og:updated_time" content="2017-04-05T12:03:55.846Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存">
<meta name="twitter:description" content="shiro 的cache只提供了ehcache和concurrentHashMap的实现，参考 spring-shiro-redis，结合jfinalPlugin 实现一个jfinal实用版  
继承AbstractSessionDAO注意看方法注释
12345678910111213141516171819202122232425262728293031323334353637383940414">
<meta name="twitter:image" content="http://obq1lvsd9.bkt.clouddn.com/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20170405195306.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: 'Author'
    },
    algolia: {
      applicationID: '75HUY04HZY',
      apiKey: 'c215d1b4c97f100bad332f84e968d70a',
      indexName: 'qq154987607',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://jieblog.github.io/2017/04/05/【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存/"/>





  <meta name="baidu-site-verification" content="cKXv4cbRZc" />
  <meta name="google-site-verification" content="05Vxc1yd7lC2F1bxwmmbQkfP-rZgvPLTqufHSzImPcM" />
  <title> 【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存 | Gie的博客 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  





  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?7e8381cb6c39db6048492ff2e52234cb";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>










  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Gie的博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <h1 class="site-subtitle" itemprop="description">为人瓜而不皮 一身正气</h1>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  
  <div class="algolia-popup popup">
    <div class="algolia-search">
      <div class="algolia-search-input-icon">
        <i class="fa fa-search"></i>
      </div>
      <div class="algolia-search-input" id="algolia-search-input"></div>
    </div>

    <div class="algolia-results">
      <div id="algolia-stats"></div>
      <div id="algolia-hits"></div>
      <div id="algolia-pagination" class="algolia-pagination"></div>
    </div>

    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
  </div>




    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
  <link itemprop="mainEntityOfPage" href="https://jieblog.github.io/2017/04/05/【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存/">

  <span style="display:none" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Gie">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="/images/logo.png">
  </span>

  <span style="display:none" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Gie的博客">
    <span style="display:none" itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
      <img style="display:none;" itemprop="url image" alt="Gie的博客" src="">
    </span>
  </span>

    
      <header class="post-header">

        
        
          <h2 class="post-title" itemprop="name headline">
            
            
              
                【jfinal修仙系列】自定义实现ShiroSessionDAO支持Redis缓存
              
            
          </h2>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2017-04-05T19:54:55+08:00">
                2017-04-05
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/JAVAEE/" itemprop="url" rel="index">
                    <span itemprop="name">JAVAEE</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>shiro 的cache只提供了ehcache和concurrentHashMap的实现，参考 <a href="http://www.oschina.net/p/shiro-redis" target="_blank" rel="external">spring-shiro-redis</a>，结合jfinalPlugin 实现一个jfinal实用版  </p>
<h3 id="继承AbstractSessionDAO"><a href="#继承AbstractSessionDAO" class="headerlink" title="继承AbstractSessionDAO"></a>继承AbstractSessionDAO</h3><p>注意看方法注释</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div><div class="line">37</div><div class="line">38</div><div class="line">39</div><div class="line">40</div><div class="line">41</div><div class="line">42</div><div class="line">43</div><div class="line">44</div><div class="line">45</div><div class="line">46</div><div class="line">47</div><div class="line">48</div><div class="line">49</div><div class="line">50</div><div class="line">51</div><div class="line">52</div><div class="line">53</div><div class="line">54</div><div class="line">55</div><div class="line">56</div><div class="line">57</div><div class="line">58</div><div class="line">59</div><div class="line">60</div><div class="line">61</div><div class="line">62</div><div class="line">63</div><div class="line">64</div><div class="line">65</div><div class="line">66</div><div class="line">67</div><div class="line">68</div><div class="line">69</div><div class="line">70</div><div class="line">71</div><div class="line">72</div><div class="line">73</div><div class="line">74</div><div class="line">75</div><div class="line">76</div><div class="line">77</div><div class="line">78</div><div class="line">79</div><div class="line">80</div><div class="line">81</div><div class="line">82</div><div class="line">83</div><div class="line">84</div><div class="line">85</div><div class="line">86</div><div class="line">87</div><div class="line">88</div><div class="line">89</div><div class="line">90</div><div class="line">91</div><div class="line">92</div><div class="line">93</div><div class="line">94</div><div class="line">95</div><div class="line">96</div><div class="line">97</div><div class="line">98</div><div class="line">99</div></pre></td><td class="code"><pre><div class="line">public class RedisSessionDAO extends AbstractSessionDAO &#123;</div><div class="line">    private static String SHIRO_KEY = &quot;shiro&quot;;</div><div class="line"></div><div class="line">    /*永不过期*/</div><div class="line">    private int expire = 0;</div><div class="line"></div><div class="line">    public int getExpire() &#123;</div><div class="line">        return expire;</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    public void setExpire(int expire) &#123;</div><div class="line">        this.expire = expire;</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 如DefaultSessionManager在创建完session后会调用该方法；</div><div class="line">     * 如保存到关系数据库/文件系统/NoSQL数据库；即可以实现会话的持久化；</div><div class="line">     * 主要此处返回的ID.equals(session.getId())；</div><div class="line">     *</div><div class="line">     * @param session session</div><div class="line">     * @return 返回会话ID</div><div class="line">     */</div><div class="line">    protected Serializable doCreate(Session session) &#123;</div><div class="line">        Serializable sessionId = this.generateSessionId(session);</div><div class="line">        this.assignSessionId(session, sessionId);</div><div class="line">        this.saveSession(session);</div><div class="line">        return sessionId;</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 根据会话ID获取会话</div><div class="line">     *</div><div class="line">     * @param serializable 会话ID</div><div class="line">     * @return Session</div><div class="line">     */</div><div class="line">    protected Session doReadSession(Serializable serializable) &#123;</div><div class="line">        if (null == serializable) &#123;</div><div class="line">            LogKit.error(&quot;session id is null&quot;);</div><div class="line">            return null;</div><div class="line">        &#125;</div><div class="line">        return Redis.use().hget(SHIRO_KEY, serializable);</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 更新会话</div><div class="line">     * 如更新会话最后访问时间/停止会话/设置超时时间/设置移除属性等会调用</div><div class="line">     *</div><div class="line">     * @param session session</div><div class="line">     */</div><div class="line">    public void update(Session session) &#123;</div><div class="line">        saveSession(session);</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 删除会话</div><div class="line">     * 当会话过期/会话停止（如用户退出时）会调用</div><div class="line">     *</div><div class="line">     * @param session session</div><div class="line">     */</div><div class="line">    public void delete(Session session) &#123;</div><div class="line">        if (null == session || null == session.getId()) &#123;</div><div class="line">            LogKit.error(&quot;session or session id is null&quot;);</div><div class="line">        &#125; else &#123;</div><div class="line">            Redis.use().hdel(SHIRO_KEY, session.getId());</div><div class="line">            LogKit.debug(&quot;delete success shiro key &quot; + session.getId());</div><div class="line">        &#125;</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 获取当前所有活跃用户，如果用户量多此方法影响性能</div><div class="line">     *</div><div class="line">     * @return Collection</div><div class="line">     */</div><div class="line">    public Collection&lt;Session&gt; getActiveSessions() &#123;</div><div class="line">        Set&lt;Session&gt; sessions = new HashSet&lt;Session&gt;();</div><div class="line">        Map map = Redis.use().hgetAll(SHIRO_KEY);</div><div class="line">        if (CollectionUtil.isNotEmpty(map)) &#123;</div><div class="line">            Set&lt;Map.Entry&gt; entrySet = map.entrySet();</div><div class="line">            for (Map.Entry entry : entrySet) &#123;</div><div class="line">                sessions.add((Session) entry.getValue());</div><div class="line">            &#125;</div><div class="line">        &#125;</div><div class="line">        return sessions;</div><div class="line">    &#125;</div><div class="line"></div><div class="line">    /**</div><div class="line">     * 保存 session</div><div class="line">     *</div><div class="line">     * @param session Session</div><div class="line">     */</div><div class="line">    private void saveSession(Session session) &#123;</div><div class="line">        if (session == null || session.getId() == null) &#123;</div><div class="line">            LogKit.error(&quot;session or session id is null&quot;);</div><div class="line">            return;</div><div class="line">        &#125;</div><div class="line">        Redis.use().hset(SHIRO_KEY, session.getId(), session);</div><div class="line">        Redis.use().expire(SHIRO_KEY, this.expire);</div><div class="line">    &#125;</div><div class="line">&#125;</div></pre></td></tr></table></figure>
<h3 id="shiro-ini配置"><a href="#shiro-ini配置" class="headerlink" title="shiro.ini配置"></a>shiro.ini配置</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">redisSessionDAO = 自定义的RedisSessionDAO</div><div class="line">redisSessionDAO.expire = 过期时间</div><div class="line">sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager</div><div class="line">sessionManager.sessionDAO = $redisSessionDAO</div><div class="line">securityManager.sessionManager = $sessionManager</div></pre></td></tr></table></figure>
<h3 id="登录查看效果"><a href="#登录查看效果" class="headerlink" title="登录查看效果"></a>登录查看效果</h3><p><img src="http://obq1lvsd9.bkt.clouddn.com/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20170405195306.png" alt="image"></p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2017/03/26/不要在奋斗的年纪选择安逸/" rel="next" title="不要在奋斗的年纪选择安逸">
                <i class="fa fa-chevron-left"></i> 不要在奋斗的年纪选择安逸
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2017/04/05/【jfinal修仙系列】修改ShiroPlugin支持jfinal3.0及其模板/" rel="prev" title="【jfinal修仙系列】修改ShiroPlugin支持jfinal3.0及其模板">
                【jfinal修仙系列】修改ShiroPlugin支持jfinal3.0及其模板 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>

          
          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="lv-container" data-id="city" data-uid="MTAyMC8yNzgyMS80Mzk3"></div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/logo.png"
               alt="Gie" />
          <p class="site-author-name" itemprop="name">Gie</p>
           
              <p class="site-description motion-element" itemprop="description"></p>
           
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/archives">
                <span class="site-state-item-count">94</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">5</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
        </nav>

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/jieblog" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://git.oschina.net/log4j" target="_blank" title="GitOsc">
                  
                    <i class="fa fa-fw fa-globe"></i>
                  
                  GitOsc
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://weibo.com/u/3911368554" target="_blank" title="Weibo">
                  
                    <i class="fa fa-fw fa-weibo"></i>
                  
                  Weibo
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="wangiegieg@gmail.com" target="_blank" title="Email">
                  
                    <i class="fa fa-fw fa-google"></i>
                  
                  Email
                </a>
              </span>
            
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#继承AbstractSessionDAO"><span class="nav-number">1.</span> <span class="nav-text">继承AbstractSessionDAO</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#shiro-ini配置"><span class="nav-number">2.</span> <span class="nav-text">shiro.ini配置</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#登录查看效果"><span class="nav-number">3.</span> <span class="nav-text">登录查看效果</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Gie</span>
</div>



        

<div class="busuanzi-count">

  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  

  
    <span class="site-pv">本站总访问量<span class="busuanzi-value" id="busuanzi_value_site_pv"></span>次</span>
  

</div>



        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    
    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  




  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.0"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  



  




	





  





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  



  
  

  

  

  

  

  
  
  
  <link rel="stylesheet" href="/lib/algolia-instant-search/instantsearch.min.css">

  
  
  <script src="/lib/algolia-instant-search/instantsearch.min.js"></script>
  

  <script src="/js/src/algolia-search.js?v=5.1.0"></script>



  

</body>
</html>
